﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StructureMap.Configuration.DSL;
using PowerBooking.RSE.IRepository;
using PowerBooking.RSE.Repository;

namespace PowerBooking.RSE.IoC
{
    /// <summary>
    /// 仓储层IoC注册
    /// </summary>
    public class RepositoryRegistry : Registry
    {
        public RepositoryRegistry()
        {
            
            For<IUnitOfWork>().Use<UnitOfWork>();
        }
    }
}
